html {
  font-size: 16px;
}

@media screen and (min-width: 375px) {
  html {
    /* iPhone6的375px尺寸作为16px基准，414px正好18px大小, 600 20px */
    font-size: calc(100% + 2 * (100vw - 375px) / 39);
    font-size: calc(16px + 2 * (100vw - 375px) / 39);
  }
}

@media screen and (min-width: 414px) {
  html {
    /* 414px-1000px每100像素宽字体增加1px(18px-22px) */
    font-size: calc(112.5% + 4 * (100vw - 414px) / 586);
    font-size: calc(18px + 4 * (100vw - 414px) / 586);
  }
}

@media screen and (min-width: 600px) {
  html {
    /* 600px-1000px每100像素宽字体增加1px(20px-24px) */
    font-size: calc(125% + 4 * (100vw - 600px) / 400);
    font-size: calc(20px + 4 * (100vw - 600px) / 400);
  }
}

@media screen and (min-width: 1000px) {
  html {
    /* 1000px往后是每100像素0.5px增加 */
    font-size: calc(137.5% + 6 * (100vw - 1000px) / 1000);
    font-size: calc(22px + 6 * (100vw - 1000px) / 1000);
  }
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  width: 100%;
  min-width: 100vw;
  min-height: 100vh;
}

body {
  background-image: url("http://cdn.wingsico.org/image/blog/20181210-2.jpeg");
  background-repeat: repeat;
  background-color: pink;
  background-size: 300px;
  padding: 20px;
  font-family: "Varela Round", "Indie Flower", "Quicksand", sans-serif, cursive;
  position: relative;
  margin: 0;
}

.icon {
  width: 1em;
  height: 1em;
  vertical-align: -0.15em;
  fill: currentColor;
  overflow: hidden;
}

a {
  color: #44ceff;
  transition: all 0.3s;
  text-decoration: none;
}

a:hover,
a:active,
a:visited {
  color: pink;
  text-decoration: underline;
}

#container {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

#container header h1 {
  color: #fff;
  font-size: 5rem;
  text-align: center;
  text-shadow: 2px 4px 6px pink;
}

#container .wrapper {
  display: inline-block;
  width: 500px;
  max-width: 100%;
  background-color: rgba(255, 255, 255, 0.7);
  margin: 0 auto;
  margin-top: 6rem;
  border-radius: 1em;
  font-size: 1rem;
  box-shadow: 0px 0px 10px rgba(255, 192, 203, 0.404);
  padding: 20px 40px;
}

#container .wrapper .personal {
  display: flex;
  color: pink;
}

#container .wrapper .personal .avatar {
  writing-mode: vertical-lr;
  margin: auto;
}

#container .wrapper .personal .info {
  margin-left: 1rem;
}

#container .wrapper .personal .info .desc {
  font-size: 0.8rem;
  line-height: 1.4;
}

#container .wrapper .personal .avatar img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  box-shadow: 1px 2px 6px pink;
}

#container .wrapper nav .road-sign {
  font-size: 1rem;
  color: pink;
  text-shadow: 2px 2px 4px silver;
  margin-bottom: 10px;
}

#container .wrapper nav ul {
  list-style: none;
  display: flex;
  padding: 0;
  margin: 0;
  font-size: 1rem;
}

#container .wrapper nav ul li {
  display: inline-block;
}

#container .wrapper nav ul li:not(:last-child) {
  margin-right: 0.8rem;
}

#container .wrapper nav ul li a {
  display: inline-flex;
  align-items: center;
}

#container .wrapper nav ul li a > span {
  display: inline-block;
  margin-left: 5px;
  vertical-align: -0.1em;
}

.copyright {
  position: absolute;
  font-size: 0.7rem;
  text-align: center;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  line-height: 1.2;
}
